
import request from "@/request";
import ApiResponse from "../common/api-response.ts";

export default class LoginApi {
  static async login(authType: string): Promise<ApiResponse<string>> {
    return ApiResponse.fromResponse(await request.post("/user/login", { authType: authType }));
  }

  static async loginTest(): Promise<ApiResponse<string>> {
    return ApiResponse.fromResponse(await request.post("/test/login", {}));
  }


}
